package com.spic.business.accident.exterevents.selfInspectionReport.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;

/**
 * 外部事件自查报告对象 accident_external_event_inspection_report
 * 
 * @author spic
 * @date 2021-12-03
 */
public class AccidentExternalEventInspectionReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private String id;

    /** 自查编号 */
    @Excel(name = "自查编号")
    private String checkNumber;

    /** 部门 */
    @Excel(name = "部门")
    private Long repoetDeptId;

    /** 事件名称 */
    @Excel(name = "事件名称")
    private String eventName;

    /** 事件编号 */
    @Excel(name = "事件编号")
    private String eventNumber;

    /** 责任单位 */
    @Excel(name = "责任单位")
    private Long dutyDept;

    /** 事故类型 */
    @Excel(name = "事故类型")
    private String accidentType;

    /** 整改计划 */
    @Excel(name = "整改计划")
    private Long rectificationPlan;

    /** 记录状态 */
    @Excel(name = "记录状态")
    private String status;

    /** 自查责任单位 */
    @Excel(name = "自查责任单位")
    private Long checkDutyDept;

    /** 编制时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "编制时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date editTime;

    /** 班组 */
    @Excel(name = "班组")
    private Long className;

    /** 防范措施 */
    @Excel(name = "防范措施")
    private String measuresPrevent;

    /** 自查报告类别（1.班���自查，2.部门自查） */
    @Excel(name = "自查报告类别", readConverterExp = "1=.班���自查，2.部门自查")
    private Integer inspectionType;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String fileUrl;

    /** 备注 */
    @Excel(name = "备注")
    private String remrk;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCheckNumber(String checkNumber) 
    {
        this.checkNumber = checkNumber;
    }

    public String getCheckNumber() 
    {
        return checkNumber;
    }
    public void setRepoetDeptId(Long repoetDeptId) 
    {
        this.repoetDeptId = repoetDeptId;
    }

    public Long getRepoetDeptId() 
    {
        return repoetDeptId;
    }
    public void setEventName(String eventName) 
    {
        this.eventName = eventName;
    }

    public String getEventName() 
    {
        return eventName;
    }
    public void setEventNumber(String eventNumber) 
    {
        this.eventNumber = eventNumber;
    }

    public String getEventNumber() 
    {
        return eventNumber;
    }
    public void setDutyDept(Long dutyDept) 
    {
        this.dutyDept = dutyDept;
    }

    public Long getDutyDept() 
    {
        return dutyDept;
    }
    public void setAccidentType(String accidentType) 
    {
        this.accidentType = accidentType;
    }

    public String getAccidentType() 
    {
        return accidentType;
    }
    public void setRectificationPlan(Long rectificationPlan) 
    {
        this.rectificationPlan = rectificationPlan;
    }

    public Long getRectificationPlan() 
    {
        return rectificationPlan;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCheckDutyDept(Long checkDutyDept) 
    {
        this.checkDutyDept = checkDutyDept;
    }

    public Long getCheckDutyDept() 
    {
        return checkDutyDept;
    }
    public void setEditTime(Date editTime) 
    {
        this.editTime = editTime;
    }

    public Date getEditTime() 
    {
        return editTime;
    }
    public void setClassName(Long className) 
    {
        this.className = className;
    }

    public Long getClassName() 
    {
        return className;
    }
    public void setMeasuresPrevent(String measuresPrevent) 
    {
        this.measuresPrevent = measuresPrevent;
    }

    public String getMeasuresPrevent() 
    {
        return measuresPrevent;
    }
    public void setInspectionType(Integer inspectionType) 
    {
        this.inspectionType = inspectionType;
    }

    public Integer getInspectionType() 
    {
        return inspectionType;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setRemrk(String remrk) 
    {
        this.remrk = remrk;
    }

    public String getRemrk() 
    {
        return remrk;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("checkNumber", getCheckNumber())
            .append("repoetDeptId", getRepoetDeptId())
            .append("eventName", getEventName())
            .append("eventNumber", getEventNumber())
            .append("dutyDept", getDutyDept())
            .append("accidentType", getAccidentType())
            .append("rectificationPlan", getRectificationPlan())
            .append("status", getStatus())
            .append("checkDutyDept", getCheckDutyDept())
            .append("editTime", getEditTime())
            .append("className", getClassName())
            .append("measuresPrevent", getMeasuresPrevent())
            .append("inspectionType", getInspectionType())
            .append("fileUrl", getFileUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remrk", getRemrk())
            .toString();
    }
}
